﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" Loaded="UserControl_Loaded"     
    xmlns:local2="clr-namespace:BrainTechLLC.Silverlight.InputControls2;assembly=BrainTechLLC.Silverlight.InputControls2"
    xmlns:z="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls"
	x:Class="BrainTechLLC.Silverlight.ClientApplication.Controls.LoginControl"	
    KeyDown="UserControl_KeyDown">
    <Grid x:Name="LayoutRoot2" Loaded="LayoutRoot2_Loaded">        
        <ContentControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Style="{StaticResource BasicContentStyle}">
            <Canvas Height="500" HorizontalAlignment="Center" VerticalAlignment="Center" Width="400">
                <ContentControl Content="Log In to your Account" FontSize="{StaticResource StandardTextSize}" x:Name="titleContent" Canvas.Left="93" Canvas.Top="-47"/>
                <local2:InputTextBox Name="loginNameInput" LabelTextString="Login Name:" FontSize="{StaticResource StandardTextSize}" Width="400" TextBoxWidth="218"
                                     Padding="0,0,0,0" Canvas.Left="45" Canvas.Top="22" ShowBottomLine="False" LabelFontSize="{StaticResource StandardTextSize}"
                                     KeyDown="txtLoginName_KeyDown" Style="{StaticResource InputTBStyle2}" TextForeground="Black" 
                                     TextBoxFontSize="14" TextBoxPadding="4,2,4,2" />
                <local2:InputTextBox Name="passwordInput" LabelTextString="Password:" FontSize="{StaticResource StandardTextSize}" Width="400" TextBoxWidth="218"
                                     Padding="0,0,0,0" Canvas.Left="45" Canvas.Top="65" ShowBottomLine="False" LabelFontSize="{StaticResource StandardTextSize}"
                                     Style="{StaticResource InputTBStyle2}" TextForeground="Black" TextBoxFontSize="14" 
                                     TextBoxPadding="4,2,4,2" PasswordChar="*" KeyDown="txtPassword_KeyDown" />                
                <StackPanel Height="75" Width="220" Canvas.Left="174" Canvas.Top="99.182">
                    <Button x:Name="btnLogin" Content="Log In" FontSize="16" Click="btnLogin_Click"/>
                    <Button x:Name="btnCreateNew" Content="Create New Account" VerticalAlignment="Stretch" Margin="0,10,0,0" FontSize="16" Click="btnCreateNew_Click"/>
                </StackPanel>                
            </Canvas>
        </ContentControl>
    </Grid>
</UserControl>